package com.guchenbo.demo.jdbc.dao.mapper;

import com.guchenbo.demo.jdbc.dao.pojo.User1;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author guchenbo
 * @Date 2020/3/23.
 */
@Mapper
public interface User1Mapper {
    @Insert("insert into user1(name) values(#{name} )")
    int insert(User1 record);

    User1 selectByPrimaryKey(Integer id);
}
